home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-08-30 | 395 b | 13 lines | [TEXT/ttxt] |
- function NumToText num
- put num+0 into x
- put @x into y
- if charToNum(y@.charType)=0 then put " " into y@.charType
- add one to y
- if charToNum(y@.charType)=0 then put " " into y@.charType
- add one to y
- if charToNum(y@.charType)=0 then put " " into y@.charType
- add one to y
- if charToNum(y@.charType)=0 then put " " into y@.charType
- subtract 3 from y
- return y@.OSType
- end NumToText